package messages.plain;

import java.security.PublicKey;

/**
 * The 3rd message.
 * 
 * @author hb
 * 
 */
public class PlainAuthResponseAck extends PlainMessage
{

    /**
	 * 
	 */
    private static final long serialVersionUID = 1L;

    private int dstNonce;

    public PlainAuthResponseAck( int dstNonce, PublicKey dstPublicKey ) {
        super();
        this.setDstNonce( dstNonce );
    }

    /**
     * @param dstNonce
     *            the dstNonce to set
     */
    public void setDstNonce( int dstNonce ) {
        this.dstNonce = dstNonce;
    }

    /**
     * @return the dstNonce
     */
    public int getDstNonce() {
        return dstNonce;
    }

    @Override
    public void show() {
        System.out.println( "Message Content:\nYour nonce: " + this.dstNonce );
    }

}
